/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.toto.loginAccount;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

/**
 *
 * @author Administrator
 */
public interface LoginLocalHome extends EJBLocalHome
{
//  public LoginLocal create(Login login) throws CreateException;
  public LoginLocal create(String userId, String name, String password, String permission) throws CreateException;
  public LoginLocal findByPrimaryKey(String userId) throws FinderException;
  public LoginLocal findByName(String name) throws FinderException;
  public Collection findAllAccount() throws FinderException;
}
